<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta content="width=device-width, initial-scale=1" name="viewport">
    <title>玉灵 QQ:7031633 Email:webrx@126.com</title>
    <style>
        .box {
            width: 300px;
            height: 50px;
            background-image: linear-gradient(45deg, red, blue);
            animation: mm 5s linear infinite;
            /*transform-origin: 100% 50%;*/
            /*transform-origin: 310px 60px;*/
        }

        @keyframes mm {
            from {
                transform: rotate(0deg);
            }
            to {
                transform: rotate(360deg);

            }
        }
    </style>
</head>

<body>
<div class="box"></div>
</body>
</html>
